//
//  LanguageConvert.m
//  Doctor
//
//  Created by wenzi on 16/10/12.
//  Copyright © 2016年 阳光. All rights reserved.
//


#import "LanguageConvert.h"

@implementation LanguageConvert

- (BOOL)hasShownIsCnOrNot{
    
    NSArray *languages = [NSLocale preferredLanguages];
    
    NSString *languageAll = [languages objectAtIndex:0];
    
    
    NSString *language = [languageAll substringToIndex:2];
    
    if ([language isEqualToString:@"zh"]) {
        
        return YES;//中
        
    }else{
        
        return NO;//英
        
    }

}

@end
